﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DecoratorModel
{
    public abstract class Decorator_News : Component_News
    {
        /// <summary>
        /// 取新闻
        /// </summary>
        /// <returns></returns>
        public override List<News> getListOfNews()
        {
            return this._Component_News.getListOfNews();

        }
        private Component_News _Component_News;
        public Decorator_News(Component_News _Component_News2)
        {
            this._Component_News = _Component_News2;

        }


    }
}
